home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2002 November / SGI IRIX Base Documentation 2002 November.iso / usr / share / catman / p_man / cat4 / syms.z / syms
Encoding:
Text File  |  2002-10-03  |  2.9 KB  |  78 lines

  1. SYMS(4)                                               Last changed: 11-5-98
  2.  
  3.  
  4. NNAAMMEE
  5.      ssyymmss - MIPS symbol table
  6.  
  7. SSYYNNOOPPSSIISS
  8.      ""##iinncclluuddee <<ssyymm..hh>>""
  9.      ""##iinncclluuddee <<ssyymmccoonnsstt..hh>>""
  10.  
  11. IIMMPPLLEEMMEENNTTAATTIIOONN
  12.      IRIX systems (o32 ABI only)
  13.  
  14. DDEESSCCRRIIPPTTIIOONN
  15.      The following information applies to the IRIX 5 and IRIX 6 ..mmddeebbuugg
  16.      section found in o32 objects.
  17.  
  18.      The MIPS symbol table departs from the standard COFF symbol table.
  19.      The symbol table consists of many tables unbundling information
  20.      usually found in the one COFF symbol table.  The symbol table should
  21.      be viewed as a hand-crafted, network-style database designed for space
  22.      and access efficiency.
  23.  
  24.      The following structures or tables appear in the MIPS symbol table:
  25.  
  26.      TABLE                              CONTENTS
  27.  
  28.      symbolic header                    sizes and locations of all other
  29.                                         tables
  30.  
  31.      file descriptors                   per file locations for other tables
  32.  
  33.      procedure descriptors              frame info and location of
  34.                                         procedure info
  35.  
  36.      local symbols                      local type, local variable, and
  37.                                         scoping info
  38.  
  39.      local strings                      string space for local symbols
  40.  
  41.      line numbers                       compacted by encoding, contains a
  42.                                         line per instruction
  43.  
  44.      relative file desc.                indirection for inter-file symbol
  45.                                         access
  46.  
  47.      optimization symbols               to be defined
  48.  
  49.      auxiliary symbols                  variable data type info for each
  50.                                         local symbol
  51.  
  52.      external symbols                   loader symbols (global text and
  53.                                         data)
  54.  
  55.      external strings                   string space for external symbols
  56.  
  57.      dense numbers                      (file, symbol) index pairs for
  58.                                         compiler use
  59.  
  60.      External and local symbols contain the standard concept of a
  61.      ``symbol'' as follows:
  62.  
  63.        struct
  64.        {
  65.             long     iss;  /* index into string space */
  66.             long     value;     /* addr, size, etc., depends on sc & st */
  67.             unsigned st: 6;     /* symbol type (e.g. local, param, etc.) */
  68.             unsigned sc: 5;     /* storage class (e.g. text, bss, etc.) */
  69.             unsigned reserved: 1;
  70.             unsigned index: 20; /* index into symbol or auxiliary table */
  71.        };
  72.  
  73. NNOOTTEESS
  74.      In a future IRIX release, the ..mmddeebbuugg section will be replaced.
  75.  
  76. SSEEEE AALLSSOO
  77.      This man page is available only online.
  78.